package com.cqfae.deploycentral.app.dao.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "t_approve_document")
public class ApproveDocument extends BaseInfo{

    /**
     * new 文档步骤说明和文档名称
     */
    private String approveDecument;
    /**
     * new 上线描述说明
     */
    private String onlineDescribe;
    /**
     * new 拒绝理由
     */
    private String refuseInfo ;
    /**
     * new 是否接入GW系统
     */
    private Integer isGw;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.app_id
     *
     *  
     */
    private Long appId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.app_name
     *
     *  
     */
    private String appName;

    private Long jiraVersionId;

    private String jiraVersionName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_config_central
     *
     *  
     */
    private Integer isConfigCentral;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_cat
     *
     *  
     */
    private Integer isCat;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_sso
     *
     *  
     */
    private Integer isSso;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_rednet
     *
     *  
     */
    private Integer isRednet;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_regist_central
     *
     *  
     */
    private Integer isRegistCentral;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_new_domain
     *
     *  
     */
    private Integer isNewDomain;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_new_service
     *
     *  
     */
    private Integer isNewService;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_new_logic
     *
     *  
     */
    private Integer isNewLogic;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_sql_script
     *
     *  
     */
    private Integer isSqlScript;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_rollback_script
     *
     *  
     */
    private Integer isRollbackScript;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_priority_script
     *
     *  
     */
    private Integer isPriorityScript;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.is_name_script
     *
     *  
     */
    private Integer isNameScript;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.approve_status
     *
     *  
     */
    private Integer approveStatus;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.approver
     *
     *  
     */
    private String approver;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.approve_time
     *
     *  
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date approveTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.reserved1
     *
     *  
     */
    private String reserved1;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_approve_document.reserved2
     *
     *  
     */
    private String reserved2;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date onlineTime;

    private String commitBy;

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public String getCommitBy() {
        return commitBy;
    }

    public void setCommitBy(String commitBy) {
        this.commitBy = commitBy;
    }

    public Integer getIsGw() {
        return isGw;
    }

    public void setIsGw(Integer isGw) {
        this.isGw = isGw;
    }

    public Long getJiraVersionId() {
        return jiraVersionId;
    }

    public void setJiraVersionId(Long jiraVersionId) {
        this.jiraVersionId = jiraVersionId;
    }

    public String getJiraVersionName() {
        return jiraVersionName;
    }

    public void setJiraVersionName(String jiraVersionName) {
        this.jiraVersionName = jiraVersionName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.app_id
     */
    public Long getAppId() {
        return appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.app_id
     *  
     */
    public void setAppId(Long appId) {
        this.appId = appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.app_name
     *
     * @return the value of t_approve_document.app_name
     *
     *  
     */
    public String getAppName() {
        return appName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.app_name
     *
     * @param appName the value for t_approve_document.app_name
     *
     *  
     */
    public void setAppName(String appName) {
        this.appName = appName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_config_central
     *
     * @return the value of t_approve_document.is_config_central
     *
     *  
     */
    public Integer getIsConfigCentral() {
        return isConfigCentral;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_config_central
     *
     * @param isConfigCentral the value for t_approve_document.is_config_central
     *
     *  
     */
    public void setIsConfigCentral(Integer isConfigCentral) {
        this.isConfigCentral = isConfigCentral;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_cat
     *
     * @return the value of t_approve_document.is_cat
     *
     *  
     */
    public Integer getIsCat() {
        return isCat;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_cat
     *
     * @param isCat the value for t_approve_document.is_cat
     *
     *  
     */
    public void setIsCat(Integer isCat) {
        this.isCat = isCat;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_sso
     *
     * @return the value of t_approve_document.is_sso
     *
     *  
     */
    public Integer getIsSso() {
        return isSso;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_sso
     *
     * @param isSso the value for t_approve_document.is_sso
     *
     *  
     */
    public void setIsSso(Integer isSso) {
        this.isSso = isSso;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_rednet
     *
     * @return the value of t_approve_document.is_rednet
     *
     *  
     */
    public Integer getIsRednet() {
        return isRednet;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_rednet
     *
     * @param isRednet the value for t_approve_document.is_rednet
     *
     *  
     */
    public void setIsRednet(Integer isRednet) {
        this.isRednet = isRednet;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_regist_central
     *
     * @return the value of t_approve_document.is_regist_central
     *
     *  
     */
    public Integer getIsRegistCentral() {
        return isRegistCentral;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_regist_central
     *
     * @param isRegistCentral the value for t_approve_document.is_regist_central
     *
     *  
     */
    public void setIsRegistCentral(Integer isRegistCentral) {
        this.isRegistCentral = isRegistCentral;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_new_domain
     *
     * @return the value of t_approve_document.is_new_domain
     *
     *  
     */
    public Integer getIsNewDomain() {
        return isNewDomain;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_new_domain
     *
     * @param isNewDomain the value for t_approve_document.is_new_domain
     *
     *  
     */
    public void setIsNewDomain(Integer isNewDomain) {
        this.isNewDomain = isNewDomain;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_new_service
     *
     * @return the value of t_approve_document.is_new_service
     *
     *  
     */
    public Integer getIsNewService() {
        return isNewService;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_new_service
     *
     * @param isNewService the value for t_approve_document.is_new_service
     *
     *  
     */
    public void setIsNewService(Integer isNewService) {
        this.isNewService = isNewService;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_new_logic
     *
     * @return the value of t_approve_document.is_new_logic
     *
     *  
     */
    public Integer getIsNewLogic() {
        return isNewLogic;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_new_logic
     *
     * @param isNewLogic the value for t_approve_document.is_new_logic
     *
     *  
     */
    public void setIsNewLogic(Integer isNewLogic) {
        this.isNewLogic = isNewLogic;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_sql_script
     *
     * @return the value of t_approve_document.is_sql_script
     *
     *  
     */
    public Integer getIsSqlScript() {
        return isSqlScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_sql_script
     *
     * @param isSqlScript the value for t_approve_document.is_sql_script
     *
     *  
     */
    public void setIsSqlScript(Integer isSqlScript) {
        this.isSqlScript = isSqlScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_rollback_script
     *
     * @return the value of t_approve_document.is_rollback_script
     *
     *  
     */
    public Integer getIsRollbackScript() {
        return isRollbackScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_rollback_script
     *
     * @param isRollbackScript the value for t_approve_document.is_rollback_script
     *
     *  
     */
    public void setIsRollbackScript(Integer isRollbackScript) {
        this.isRollbackScript = isRollbackScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_priority_script
     *
     * @return the value of t_approve_document.is_priority_script
     *
     *  
     */
    public Integer getIsPriorityScript() {
        return isPriorityScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_priority_script
     *
     * @param isPriorityScript the value for t_approve_document.is_priority_script
     *
     *  
     */
    public void setIsPriorityScript(Integer isPriorityScript) {
        this.isPriorityScript = isPriorityScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.is_name_script
     *
     * @return the value of t_approve_document.is_name_script
     *
     *  
     */
    public Integer getIsNameScript() {
        return isNameScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.is_name_script
     *
     * @param isNameScript the value for t_approve_document.is_name_script
     *
     *  
     */
    public void setIsNameScript(Integer isNameScript) {
        this.isNameScript = isNameScript;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.approve_status
     *
     * @return the value of t_approve_document.approve_status
     *
     *  
     */
    public Integer getApproveStatus() {
        return approveStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.approve_status
     *
     * @param approveStatus the value for t_approve_document.approve_status
     *
     *  
     */
    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.approver
     *
     * @return the value of t_approve_document.approver
     *
     *  
     */
    public String getApprover() {
        return approver;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.approver
     *
     * @param approver the value for t_approve_document.approver
     *
     *  
     */
    public void setApprover(String approver) {
        this.approver = approver;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.approve_time
     *
     * @return the value of t_approve_document.approve_time
     *
     *  
     */
    public Date getApproveTime() {
        return approveTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.approve_time
     *
     * @param approveTime the value for t_approve_document.approve_time
     *
     *  
     */
    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.reserved1
     *
     * @return the value of t_approve_document.reserved1
     *
     *  
     */
    public String getReserved1() {
        return reserved1;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.reserved1
     *
     * @param reserved1 the value for t_approve_document.reserved1
     *
     *  
     */
    public void setReserved1(String reserved1) {
        this.reserved1 = reserved1;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column t_approve_document.reserved2
     *
     * @return the value of t_approve_document.reserved2
     *
     *  
     */
    public String getReserved2(){
        return reserved2;
    }



    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_approve_document.reserved2
     *
     * @param reserved2 the value for t_approve_document.reserved2
     *
     *  
     */

    public void setReserved2(String reserved2) {
        this.reserved2 = reserved2;
    }

    public String getApproveDecument() {
        return approveDecument;
    }

    public void setApproveDecument(String approveDecument) {
        this.approveDecument = approveDecument;
    }

    public String getOnlineDescribe() {
        return onlineDescribe;
    }

    public void setOnlineDescribe(String onlineDescribe) {
        this.onlineDescribe = onlineDescribe;
    }

    public String getRefuseInfo() {
        return refuseInfo;
    }

    public void setRefuseInfo(String refuseInfo) {
        this.refuseInfo = refuseInfo;
    }

}